package com.manage.platform.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * YWD
 * 2025/10/9
 */
@Accessors(chain = true)
@Data
public class IndicatorSystemTreeVo implements Serializable {

    @Schema(description = "指标体系ID")
    private Long id;

    @Schema(description = "层级")
    private Integer level;

    @Schema(description = "上级指标体系ID(0表示顶级)")
    private Long parentId;

    @Schema(description = "指标体系名称")
    private String name;

    @Schema(description = "内容描述")
    private String description;

    @Schema(description = "状态(0=未开始,1=进行中,2=已完成,3=逾期未完成)")
    private Integer status;

    @Schema(description = "负责人ID")
    private Long leaderId;

    @Schema(description = "负责人姓名")
    private String leaderName;

    @Schema(description = "更新时间(yyyy-MM-dd HH:mm:ss)")
    private String updateTime;

    @Schema(description = "下级指标体系列表")
    private List<IndicatorSystemTreeVo> children;

}
